package com.photography.controller;

import com.photography.pojo.ShootNumber;
import com.photography.service.ShootNumberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("shootnumber")
public class ShootNumberController {

    @Autowired
    private ShootNumberService shootNumberService;

//    @PostMapping
//    public Result addShootNumber(ShootNumber shootNumber){
//        shootNumberService.addShootNumber(shootNumber);
//        return Result.ok();
//    }
//
//
//    @GetMapping
//    public PageResult<ShootNumber> findAll(int page, int rows){
//
//        return shootNumberService.findAll(page,rows);
//    }
//    @RequestMapping("update")
//    public Result updateShootNumber(ShootNumber shootNumber){
//        shootNumberService.updateShootNumber(shootNumber);
//        return Result.ok();
//    }
//
//    @RequestMapping("updatestatus")
//    public Result updateStatusShootNumbe(@RequestParam String[] ids, @RequestParam int status){
//        shootNumberService.updateStatusShootNumbe(ids,status);
//        return Result.ok();
//    }
}
